<?php if (!defined('THINK_PATH')) exit();?><tr>
    <th>编号</th>
    <th><i class="fa fa-header"></i>产品分类名称</th>
    <th><i class="fa fa-clock-o">添加时间</th>
    <th><i class="fa "><a id="click" style="border-bottom:1px solid #000 ;color: #000;">排序</a></th>
    <th>操作</th>
</tr>
<?php if(is_array($cat_pro)): foreach($cat_pro as $key=>$v): ?><tr>
      <td><?php echo ($a++); ?></td>
      <td class="cat_name">
        <input type="text" value="<?php echo ($v["cat_name"]); ?>" readonly data_id="<?php echo ($v["cat_id"]); ?>">
      </td>
      <td><?php echo (date("Y-m-d",$v["cat_addtime"])); ?></td>
      <td><?php echo ($v["cat_ord"]); ?></td>
      <td>
          <a href="<?php echo U('Admin/catpro/catpro_edit/aid/'.$v['cat_id']);?>" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>                                        
          <a href="javascript:void(0)" class="btn btn-white btn-sm del" a_id="<?php echo ($v["cat_id"]); ?>"><i class="fa fa-trash"></i> 删除 </a>
      </td>
  </tr><?php endforeach; endif; ?>
 <tr>
    <td colspan="5"><?php echo ($show); ?></td>
 </tr>